package csel.model.areaeffect;

import csel.model.GameGlobals;
import csel.model.entity.Entity;
import csel.model.Tile;

public class Teleporter implements AreaEffect
{
	private static final long serialVersionUID = 1L;
	private Tile dest;
	public Teleporter(Tile t)
    {
            this.dest = t;
    }
    public void enter(Entity e)
    {
            e.move(dest);
    }

    public void leave(Entity e)
    {
    	//TODO will this do anything
    }
    
	public void attach(GameGlobals gb) {
		// TODO Auto-generated method stub
		
	}

}
